-
Notifications
You must be signed in to change notification settings - Fork 43
Adding section on fixed-point types #1276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Adding section on fixed-point types #1276
Conversation
|
||
Add link to sections above once available. | ||
|
||
Decimal fixed-point types are based on power of tens and have the following |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that should be "powers of ten" ie it is a little surprising otherwise.
applications, where round-off errors from arithmetic operations are considered | ||
unacceptable. | ||
|
||
Ordinary fixed-point types are based on power of twos (in their hardware |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same issue here. Maybe that should be "powers of two" ?
~~~~~~~~~~~~~~~ | ||
|
||
The *small* and the *delta* of a fixed-point type indicate the numeric | ||
precision of that type. Let's discuss these concepts and how they distinguish |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe "distinguish" should be "differ", or "can be distinguished"
No description provided.